﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" Title="闫启洪新闻发布系统 --- 会员注册"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link href="css/font.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    <div align="center">
        <table width="991" border="0" cellspacing="0" cellpadding="0" style="text-align:left" height="600px">
  <tr>
    <td height="5" style="width: 550px" ></td>
    <td height="5" ></td>
  </tr>
  <tr>
    <td height="30" background="img/titlebg.gif" style="width: 550px" >&nbsp;</td>
    <td width="764" height="30" background="img/titlebg.gif" >&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>登陆名：</strong><br />
    注册用户名长度限制为2-10字节<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:TextBox ID="txtname" runat="server"></asp:TextBox>&nbsp;<br />
      </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>密码（至少6位）：</strong><br />
请输入密码，区分大小写。<br />
请不要使用任何类似‘*‘、‘　‘或HTML字符<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:TextBox ID="txtpwd" runat="server" TextMode="Password"></asp:TextBox>&nbsp;<br />
      </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>请确认密码：</strong><br />
    请再输一变确认<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:TextBox ID="txtpwd2" runat="server" TextMode="Password"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>性别：</strong><br />
        请选择你的性别<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:RadioButtonList ID="rdbsex" runat="server" RepeatDirection="Horizontal">
            <asp:ListItem Value="0" Selected>男</asp:ListItem>
            <asp:ListItem Value="1">女</asp:ListItem>
        </asp:RadioButtonList>
        </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>Email地址：</strong><br />
    请输入有效的邮件地址<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>&nbsp;<br />
      </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>头像：</strong><br />
	你可以选择一个个性图片，当你发表留言或帖子时<br />将显示在你的名字下方。<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">&nbsp;
    <asp:DropDownList ID="ddlhead" runat="server" 
            onchange="document.images['idface'].src=options[selectedIndex].value;">
            <asp:ListItem Value="img/head/1.bmp">头像1</asp:ListItem>
            <asp:ListItem Value="img/head/2.bmp">头像2</asp:ListItem>
            <asp:ListItem Value="img/head/3.bmp">头像3</asp:ListItem>
            <asp:ListItem Value="img/head/4.bmp">头像4</asp:ListItem>
            <asp:ListItem Value="img/head/5.bmp">头像5</asp:ListItem>
            <asp:ListItem Value="img/head/6.bmp">头像6</asp:ListItem>
            <asp:ListItem Value="img/head/7.bmp">头像7</asp:ListItem>
            <asp:ListItem Value="img/head/8.bmp">头像8</asp:ListItem>
            <asp:ListItem Value="img/head/9.bmp">头像9</asp:ListItem>
            <asp:ListItem Value="img/head/10.bmp">头像10</asp:ListItem>
        </asp:DropDownList>
        <img alt="" id="idface" src="img/head/1.bmp" name="idface" runat="server" /><br />
      </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>生日：</strong><br />
	    如不想填写，请全部留空<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <input id="txtsr" name="txtsr" class="Wdate" runat="server" type="text" onfocus="WdatePicker({maxDate:'%y-%M-%d'})"/>
        <br />
        <br />
      </td>
  </tr>
  <tr>
    <td bgcolor="#E9F7E6" style="width: 550px"><strong>QQ号码：</strong><br />
	如果你有QQ，请输入号码。此项可选<br />
      </td>
    <td bgcolor="#E9F7E6" style="width: 7px">
        <br />
        <asp:TextBox ID="txtQQ" runat="server"></asp:TextBox>&nbsp;<br />
      </td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#E9F7E6">
        <br />
        <asp:Button ID="Button1" runat="server" Text="注册" OnClick="Button1_Click" />&nbsp;<input id="Button2" type="reset" value="清除" /><br />
        <br />
        <br />
      </td>
  </tr>
</table>
    </div>
</asp:Content>

